<?php
define('APPLICATION_PATH', 'C:\webapp\jsc\trunk\application');
define('COMPILE_DIR', 'C:\webapp\jsc\trunk\application\views\data\templates_c');
require_once 'simpletest/unit_tester.php';
require_once 'simpletest/reporter.php';
//require_once dirname(__FILE__) . '/../select.php';
require_once dirname(__FILE__) . '/../Controller.php';

class StartingmemberTest extends UnitTestCase
{
	protected $_objCompo;

	public function setUp()
	{
		$sCompileDir = COMPILE_DIR;
		$sCompileId = 'UT';
		$sName = 'SNAME';
		$aryOptions['a'] = 'abc';
		$aryOptions['b'] = 'bcd';
		$Id = 'ITAG';

		$this->_objCompo
		= new Components_StartingMember_Gakunen_Select(
				$sCompileDir,
				$sCompileId,
				$sName,
				$aryOptions,
				$Id);
	}

	public function Test1100()
	{
		$RET = $this->_objCompo->fetch();
		file_put_contents(dirname(__FILE__).'/result1100.txt', $RET);
	}


}